﻿using RenterClient.Controllers;
using RenterClient.Models;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;

namespace RenterClient.Interfaces
{
    public interface IRenterService
    {
        Task<List<PostModels>> GetAllPosts();
        Task<PostModels> GetPost(string id, string connectID);
        Task<List<PostModels>> GetSearchedPosts(PlaceModels place);
        Task<HttpResponseMessage> Authentication(string username, string password);
    }
}
